package com.my.service;


import javax.servlet.http.HttpServletRequest;

public interface OrdersService {
    public String sendOrders(Integer ordersId, HttpServletRequest req);

    public String deleteOrders(Integer ordersId, HttpServletRequest req);

    String addOrdersLogistics(Integer ordersId, String logistics, HttpServletRequest req);

    public String showAll(String context,
                          Integer currentPage,
                          Integer pageSize,
                          String sort,
                          Boolean asc,
                          HttpServletRequest req);

    public String showAllForUser(String context,
                                 Integer currentPage,
                                 Integer pageSize,
                                 String sort,
                                 Boolean asc,
                                 HttpServletRequest req);

    public String showOrderForUser(Integer ordersId, HttpServletRequest req);

    public String addOrders(Integer goodsNum, Integer goodsId, HttpServletRequest req);

    public String addAddress(Integer ordersId, Integer addressId, HttpServletRequest req);

    public String confirmGet(Integer ordersId, HttpServletRequest req);
}
